-
Notifications
You must be signed in to change notification settings - Fork 64
Integrate yellowstone-vixen-parser with codama
#348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate yellowstone-vixen-parser with codama
#348
Conversation
🦋 Changeset detectedLatest commit: 8604bcf The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
yellostone-vixen-parser with codama
07e0b77 to
8574dc8
Compare
packages/renderers-rust/public/templates/instructionsCpiPage.njk
Outdated
Show resolved
Hide resolved
63485d6 to
c2c98a8
Compare
b6f82dd to
7584669
Compare
yellostone-vixen-parser with codamayellowstone-vixen-parser with codama
lorisleiva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made a few comments and we need to make sure CI passes before this can be merged but looks good overall! Also I think this needs a quick rebase from the main branch.
I don't understand the entire logic around the rendered parsers but one thing I noticed is it seems to discriminate all accounts by length instead of using the information provided by the DiscriminatorNodes in the standard. Not sure if that's by design at the moment but thought it needed to be flagged.
packages/renderers-vixen-parser/public/templates/programMod.njk
Outdated
Show resolved
Hide resolved
1bfe88c to
f576eaf
Compare
a79f7bc to
7252134
Compare
lorisleiva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI not passing sorry.
Wil fix them |
lorisleiva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to commit the generated changes in e2e tests now.
I don't see any local changes on my system |
|
@Nagaprasadvr even after running the tests? |
Yup, if u rerun the tests it might work ? |
|
Strange, I also don't see any changes locally so it must be a CI thing. I'm trying to push commits to this branch to debug but it looks like I'm not allowed. Is there anything you can toggle to allow me to push to this PR? |
|
We also need a changeset so we can trigger a publish of the new library on merge. |
Will give u access |
Wil add |
|
where do we add the changeset? |
|
I've just done it but, for next time, you just run |
lorisleiva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we're good to merge! 👌
Goal
yellostone-vixen-parsercrate helps with parsing accounts , instructionsWe can automate the process of generating these rust acc and ixs parsers using codama idl so anyone can add this as a plugin and parse their program state and ixs effectively in rust